package his.service;

import his.entity.User;
import his.vo.DoctorVo;
import org.example.his.common.api.CommonResponse;

import java.util.List;

public interface UserService {

    public CommonResponse<List<DoctorVo>> getall_doctors_byword(String keywords);
    public CommonResponse<List<DoctorVo>> getall_doctors();
    public CommonResponse<List<User>> getall_users_byname(String keywords);
    public CommonResponse<List<User>> getall_users();
    public CommonResponse<List<User>> delete_users(String id);
    public CommonResponse<List<User>> update_users(String name,String userName,String password,String RealName,int useType,int docTitleID,String isScheduling,int deptID,int registLeID);
    public CommonResponse<List<User>> add_user(String userName,String password,String RealName,int useType,int docTitleID,String isScheduling,int deptID,int registLeID);
}
